SELECT * FROM fx_category WHERE seoUri = '/mod/home/'+locations[i][' AND status='1'
SELECT * FROM fx_category WHERE seoUri = '/mod/home/'+locations[i][' AND status='1'
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '[i][' AND status='1'' at line 1